package com.dpwx.module.startup.controller;

import org.puremvc.java.multicore.interfaces.INotification;
import org.puremvc.java.multicore.patterns.command.SimpleCommand;

import com.dpwx.framework.mvc.BaseFacade;
import com.dpwx.module.startup.StartupFacade;
import com.dpwx.module.startup.view.SplashMediator;

public class StartupCommand extends SimpleCommand {
	
	@Override
	public void execute(INotification notification) {
		getFacade().registerMediator(new SplashMediator(((BaseFacade)getFacade()).getActivity(), StartupFacade.MEDIATOR_SPLASH));
		getFacade().sendNotification(StartupFacade.CMD_SHOW_SPLASH);
	}

}
